<div class="ContactPanel" ms-controller="orgs">
	<div style="padding:5px 0;">
		<a href="javascript:void('0');" ms-click="edit(-1)" class="ft-right ui-commonBtn" data-options="iconCls:'icon-add',toggle:true">创建</a>
	</div>
	<form class="ui-search-form" id="J_formSearch" name="J_formSearch">
		<table class="ui-search-table" width="100%" border=0>
			<tr>
				<td width="60"><label class="ui-description" for="busiId">公司名称</label>
				</td>
				<td width="100">
                    <input id="busiName3" ms-duplex="orgName" name="busiName3" class="ui-inputText" type="text">
                    <div id="xx"></div>
                </td>
				<td width="60"><label class="ui-description" for="busiId">公司代码</label>
				</td>
				<td width="100">
                    <input id="busiName3" ms-duplex="orgCode" name="busiName3" class="ui-inputText" type="text">
                    <div id="xx"></div>
                </td>
				<td width="50"><label class="ui-description" for="cityId">上级机构</label>
				</td>
				<td width="100">
                    <input id="busiName3" ms-duplex="parentName" name="busiName3" class="ui-inputText" type="text">
                    <div id="xx"></div>
                </td>
				<td width="290"><a class="ui-searchBtn" href="javascript:;"
					id="J_search" ms-on-click="paginate"><i></i>查询</a></td>
			</tr>
		</table>
	</form>

	<div class="ui-tablewidth mt-10">
		<table class="ui-zx-table">
			<thead>
				<tr>
					<th width="25"><input type="checkbox" value="0001"></th>
					<th width="80">公司名称</th>
					<th width="100">公司代码</th>
					<th width="80">上级机构</th>
					<th width="80">操作</th>
				</tr>
			</thead>
			<tbody id="J_tabletpl">
				<tr ms-repeat-el="orgList">
					<td><input type="checkbox" ms-text="el.id"></td>
					<td><span ms-text="el.orgName"></span></td>
					<td><span ms-text="el.orgCode"></span></td>
					<td><span ms-text="el.parentOrg"></span></td>
					<td><a href="javascript:void('0');" ms-click="edit(el)">编辑</a>
					<a href="javascript:void('0');" ms-click="del(el.id)">删除</a></td>
				</tr>
			</tbody>
			<footer>
				<tr>
					<td colspan=10>
						<div id="pager"></div>
					</td>
				</tr>
			</footer>
		</table>
	</div>
	<div id="editOrg" style="display: none;">
		<form id="orgForm" class="form-dl">
			<table>
				<tr>
					<td class="left"><label for="orgname">公司名称：</label></td>
					<td class="short"><input type="text" id="orgName"
						name="orgName" class="text" ms-duplex="orgInfo.orgName" /></td>
					<td><span class="notice">提示信息</span></td>
					<td><span class="notice wrong">出错信息</span></td>
				</tr>
				<tr>
					<td class="left"><label for="orgCode">公司代码：</label></td>
					<td class="short applay_td"><input type="text" id="orgCode"
						name="orgCode" class="text required" ms-duplex="orgInfo.orgCode" /></td>
					<td><span class="notice">提示信息</span></td>
					<td><span class="notice wrong">出错信息</span></td>
				</tr>
				<tr>
					<td class="left"><label for="parentOrg">上级机构：</label></td>
					<td class="short applay_td"><input type="text" id="parentOrg"
						name="parentOrg" class="text" ms-duplex="orgInfo.parentOrg" /></td>
					<td><span class="notice">提示信息</span></td>
					<td><span class="notice wrong">出错信息</span></td>
				</tr>
			</table>
		</form>
	</div>
</div>
